import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

var store = new Vuex.Store({
    state: {
        token: false
    },
    mutations: {
        updataToken: (state, token) => state.token = token
    }
})
export default store